import request from '@/utils/request'

// 查询问题列表
export function questionList(query) {
  return request({
    url: '/question/questionList',
    method: 'get',
    params: query
  })
}


// 新增问题
export function questionAdd(data) {
  return request({
    url: '/question/questionAdd',
    method: 'post',
    data: data
  })
}

// 修改问题
export function questionUp(data) {
  return request({
    url: '/question/questionUp',
    method: 'post',
    data: data
  })
}

// 删除问题
export function questionDel(data) {
  return request({
    url: '/question/questionDel',
    method: 'POST',
    data
  })
}

